package cn.south.campus.admin.campus.mapper;

import cn.south.campus.admin.campus.model.entity.User;
import cn.south.campus.admin.campus.model.req.UserReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author chow
 * @since 2024-11-13
 */
public interface UserMapper extends BaseMapper<User> {

    IPage<User> pageQuery(PageDTO<User> pageDTO, @Param("query") UserReq userReq);
}
